package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;

import java.util.Map;

/**
 * @author FCJ
 * @date 2020-01-07 19:59
 */
public interface OrderService {
    Result order(Map map) throws Exception;
//根据id查询预约
    Map findById(Integer id) throws Exception;
    PageResult pageQuery(QueryPageBean queryPageBean);
    void add(Map map, Integer[] setmealIds) throws Exception;

    void deleteOrderById(Integer id);

    void update(Map map) throws Exception;
}
